package com.zh.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class OrderDetailForCustomerVO {

    //司机信息
    private String driverPhoto;
    private String driverName;
    private String driverPhone;
    //位置信息
    private String startPlace;
    private String endPlace;
    private String orderNo;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTime;
    private BigDecimal favourAmount;
    //车辆信息
    private String carType;
    private String carPlate;

    // 汇总合计
    private BigDecimal realOrderAmount;
    //真实里程
    private BigDecimal realMileage;
    //基础里程价格
    private BigDecimal baseMileageAmount;
    //基础里程
    private BigDecimal baseMileage;
    //超出基础里程价格
    private BigDecimal exceedBaseMileageAmount;
    //  超出基础里多少公里
    private BigDecimal exceedBaseMileage;
    // 超出基础里程每公里价格
    private BigDecimal exceedBaseMileageEveryKmAmount;
    //里程费
    private BigDecimal mileageAmount;

    //等待时长
    private Integer waitingMinute;
    //免费等时分钟数
    private Integer freeBaseWaitingMinute;
    // 超出免费等时每分钟价格
    private BigDecimal execeedBaseWaitingEveryKmAmount;
    // 超出免费等时分钟数
    private BigDecimal execeedBaseWaitingMinute;

    //免费返程里程
    private BigDecimal freeBaseReturnMileage;
    // 返回里程
    private BigDecimal returnMileage;
    // 超出免费返程公里数 , 每公里多少钱
    private BigDecimal exceedBaseReturnEveryKmAmount;
    //等时费
    private BigDecimal waitingAmount;
    //返程费
    private BigDecimal returnAmont;
    // 超出免费返程部分的公里数
    private BigDecimal exceedFreeBaseReturnMileage;

    //停车费
    private BigDecimal parkingAmount;
    //过路费
    private BigDecimal tollAmount;
    private BigDecimal otherAmount;
    //优惠券抵扣
    private BigDecimal voucherAmount;
    private Integer status;

}
